<?php
$s = $this->uri->segment(2);
?>

<div class="navbar navbar-default navbar-fixed-top navbar-user">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand slogan-logo-painel" href="<?php echo site_url(BASE_URL_USER . '/painel'); ?>"><?php echo add_image('logo.png' , 'width="140px;"'); ?> <span class="slogan-painel"></span> </a>
        </div>
        <div class="collapse navbar-collapse navbar-painel-user">
            <ul class="nav navbar-nav">
                <li class="<?php echo $s == 'historico' ? 'active' : '' ?>"><a title="Histórico" data-content="<div style='width:250px;'>Consulta a lances já participados e habilitações</div>" class="link-painel-user" href="<?php echo site_url(BASE_URL_USER.'/historico'); ?>">Histórico</a></li>
                <li class="<?php echo $s == 'detalhesConta' ? 'active' : '' ?>"><a title="Minha Conta"  data-content="<div style='width:250px;'>Detalhes de minha conta</div>" class="link-painel-user" href="<?php echo site_url(BASE_URL_USER.'/detalhesConta'); ?>">Minha Conta</a></li>
                
                
            </ul>
            <?php 
            echo anchor(BASE_URL_USER.'/logout', '<i class="fa fa-unlock-alt"></i> Sair', 'class="btn btn-danger pull-right" style="margin-top:5px;"');
            echo anchor('','<i class="fa fa-home"></i> Voltar ao Site', 'class="btn btn-info pull-right" style="margin-top:5px; margin-right:10px"');
            
            ?>
            
        </div>

    </div>
</div>
